import { setToken, getToken, setCookie, getCookie, getFormParams } from '@/libs/util'

export default {
    setCity(state, city) {
        state.city = city
    },
    changeSelected(state, newV) {
        state.selectedTab = newV
    },
    setToken(state, token) {
        state.token = token
        setToken(token)
    },
    setUser(state, user) {
        state.user = user
    },

}